package com.aitoedu.server.mapper;

import com.aitoedu.server.entity.PreviewStatus;
import com.aitoedu.server.vo.PreviewVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 曹正豪
* @description 针对表【preview_status(预习状态表)】的数据库操作Mapper
* @createDate 2024-10-19 23:11:18
* @Entity com.aitoedu.server.entity.PreviewStatus
*/
@Mapper
public interface PreviewStatusMapper extends BaseMapper<PreviewStatus> {

    void insertAllStudent(@Param("sids") List<Long> sids, @Param("pid") Long pid);

    List<PreviewVO> selectAllContent(@Param("chapterId")Long chapterId,@Param("sid")Long sid);
}




